<?php
/**
 * Created by PhpStorm.
 * User: 张欣欣
 * Date: 2016/12/16
 * Time: 18:22
 */
namespace IMooc;
class Loader{
    static function autoload($class){
//        var_dump($class);
        $file = BASEDIR.'/'.str_replace('\\','/',$class).".php";
        include_once($file);
//        var_dump($file);
    }
}